home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_jr / require < prev    next >
Text File  |  1994-12-20  |  872b  |  31 lines

  1. require:
  2.  
  3. Syntax:    require NAME ...
  4.  
  5. Description:
  6.  
  7.     The require command takes Rfile names as operands, and checks
  8.     the workspace for a function variable called NAME. If that
  9.     function exists, then no action is taken. If the function does
  10.     not exist, then the file `NAME.r' is loaded.
  11.  
  12.     More than one NAME can be given on the same
  13.     line. Continuations are not allowed.
  14.  
  15.     NAME can contain the `.r' extension that distinguishes Rfiles
  16.     (by convention), or NAME can omit the `.r' extension. In
  17.     either case a workspace variable without the `.r' extension is
  18.     checked for.
  19.  
  20.     Example:
  21.  
  22.     > require roots poly.r bode
  23.  
  24.     The require command syntax is identical to the rfile command,
  25.     with the obvious exception of the initial keyword.
  26.  
  27.     The rules for searching the user's RLAB_SEARCH_PATH are the
  28.     same as those used with the rfile command.
  29.  
  30. See Also: COMMAND, KEYWORDS, rfile, load
  31.